/*
 * logon_session.h
 *
 *  Created on: Aug 2, 2013
 *      Author: killerg
 */

#ifndef LOGIN_SESSION_H_
#define LOGIN_SESSION_H_

#include "share/sl_msg.pb.h"
#include "share/session_mgr.h"

struct logon_session_t : public cli_session_t<sl::LMsg, sl::LMsgID_ARRAYSIZE> {
    typedef cli_session_t<sl::LMsg, sl::LMsgID_ARRAYSIZE> base;

    bool init();
    void update();
	void send_server_status();

    std::string addr;
    co::EServerStatus last_server_status = co::ESS_Down;
};



#endif /* LOGIN_SESSION_H_ */
